Skip to main content
Version: 5.x.x

ExtractEmitterPayloadType


import { ExtractEmitterPayloadType } from "@hyper-fetch/sockets"

Description

Defined in types/extract.types.ts:6

Preview

type ExtractEmitterPayloadType<E> = E extends Emitter<infer  P, any, any, any, any, any, any> ? P : never;

Structure

E extends Emitter<infer P, any, any, any, any, any, any> ? P : never